05. First Programming Quiz
First Programming Quiz
Question:
Start Quiz:
# This is a Python comment. Lines that begin with a '#' are ignored by the
# Python interpreter. Comments are useful for documenting code or explaining
# quiz questions!
#
# Write a Python program that prints out the number of minutes in seven weeks.
# Remember: 7 weeks 7 days in a week, 24 hours in a day, and 60 mins in an hour.
# Multiplying these numbers together will give you the result
#
# Click the "Test Run" button below to try running your code and see the output,
# and click "Submit" to submit your answer.
Solution:
INSTRUCTOR NOTE:
Hints:
If you're having problems using print, check you are using exactly print and not any other capitalization.
If you find you get this error IndentationError: unexpected indent, when you try to test run the code, check that your print line does not have any spaces or tabs in front of it. Spacing before the first character on a line is very important in Python. You'll learn more about this as the course goes on.